package code.xiaohh.cloudalibaba.common.entities.payment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 对应支付表
 * </p>
 *
 * @author XiaoHH
 * @version 1.0
 * @date 2021-04-10 星期六 15:08:56
 * @file PaymentEntity.java
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("`payment`")
public class PaymentEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 支付id
     */
    @TableId(type = IdType.AUTO)
    private Long paymentId;

    /**
     * 支付流水号
     */
    private String serial;

}
